package com.example.designpattern.factory.factoryMethodDesign;

import lombok.extern.slf4j.Slf4j;

/**
 * @program: DesignPattern
 * @description: Redis资源类
 * @author: zhangjt
 * @create: 2024-11-15 17:22
 **/
@Slf4j
public class RedisResource implements Resource{
    @Override
    public void client() {
        log.info("Redis连接成功");
    }
}
